@ECHO OFF

SET SOURCEDIR=%1
SET TARGETDIR=%2
SET TARGETNAME=%3
SET TARGET=%TARGETDIR%\%TARGETNAME%\

ECHO Removing Original Engine Dir
RMDIR /S /Q %TARGET%
ECHO Copying Build
XCOPY /Y /E %SOURCEDIR% %TARGET%